#! /usr/bin/env python
#-*- coding: utf-8 -*-

import time


def stamp2str(timestamp):
    """ 时间戳 -> 字符串 """
    return time.strftime("%Y-%m-%d %H:%M:%S", time.localtime(timestamp))

